home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / util / cli / Extract.lha / Extract.guide < prev    next >
Encoding:
Text File  |  1995-06-11  |  2.1 KB  |  66 lines

  1. @$VER: 1.00
  2. @author "Christian Steigies"
  3. @(c) "Christian Steigies"
  4.  
  5. @node "Main" "Extract"
  6. Short:    extracts pieces from files
  7. Uploader: steigies@physik.uni-kiel.d400.de @{"Christian Steigies" link "CTS" 0}
  8. Author:   steigies@physik.uni-kiel.d400.de @{"Christian Steigies" link "CTS" 0}
  9. Type:     util/cli
  10.  
  11. Extract was written for a @{"poor guy" link "MG" 0}, who has a CD-Rom drive but can't use it
  12. together with his HD. As he didn't find a split program which allowed to
  13. change the disk after writing a file, I wrote this program, which extracts
  14. a given amount of @{"bytes" link "bytes" 0} from a file. After copying the small files on the
  15. HD, they can be put together with the join command. To split an archive of
  16. 2.000.000 bytes into pieces which fit on DD disk, one could use the
  17. follwing commands:
  18.  
  19.  Extract large df0:small.1 1 800000
  20.  Extract large df0:small.2 800001 1600000
  21.  Extract large df0:small.3 1600001 2000000
  22.  
  23. After copying them all onto HD,
  24.  
  25.  join small.1 small.2 small.3 as large
  26.  
  27. can be used to regain the original archive.
  28.  
  29. Usage: Extract <infile> <outfile> <from:bytes> <to:bytes>
  30.  
  31. This is kind of my first C program, so please don't blame me for bad
  32. programming style or if it blows up your Harddisk. I know that it can be
  33. programmed smarter, but it runs ok on @{"my" link "CTS" 0} and @{"Martins" link "MG" 0} Amiga, but I don't
  34. use it too often (I still have no CD-Rom, and when I have mine, I'm sure
  35. that it will work together with my HD).
  36.  
  37. Extract was compiled with GNU C version 2.5.8 (requires ixemul.library,
  38. in gcc_ixemul) and with GNU C version 2.6.3 (does not require the
  39. ixemul library, in gcc_noixemul, thanx to Martin for this one and testing).
  40.  
  41. The sourcecode is included.
  42.  
  43. @endnode
  44.  
  45. @node "CTS" "Christian Steigies"
  46.     Christian Steigies
  47.     Feldstraße 102
  48.     24105 Kiel
  49.     Germany
  50.  
  51.     steigies@physik.uni-kiel.d400.de
  52. @endnode
  53.  
  54. @node "MG" "poor guy"
  55. Martin Gierich:   Progammer of the ZShell Versions 2.0+
  56.  
  57. Try ZShell 2.6, there is a split command included, which makes Extract
  58. superfluus :-((
  59. @endnode
  60.  
  61. @node "bytes" "bytes"
  62. one byte equals 8 bit!
  63. (at least on all the computers I have used so far...)
  64. @endnode
  65.  
  66.